Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle clrdbg to vsdbg rename #501

Merged
merged 2 commits into from
Nov 18, 2016
Merged

Handle clrdbg to vsdbg rename #501

merged 2 commits into from
Nov 18, 2016

Conversation

wesrupert
Copy link
Contributor

pushd %DESTDIR%
ren dummy.exe OpenDebugAD7.exe
if NOT "%ERRORLEVEL%"=="0" echo ERROR: Unable to rename OpenDebugAD7.exe???& exit /b -1
pushd %destdir%
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidental 'gu' of these three lines?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

if NOT exist "%DESTDIR%\%%~nd" mkdir "%DESTDIR%\%%~nd
for %%f in (%%d\*.dll) do call :InstallFile "%%f" %%~nd\
)

REM Rename vsdbg back to clrdbg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it worth having this part behind an option so we can toggle whether to rename it or not?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so, these scripts are already forked, so I don't expect there to be much more long-term use for them.

for dll in $(ls $directory/*.dll); do
install_file "$dll" "$directory_name/"
done
done

# Rename vsdbg back to clrdbg
mv "$DESTDIR/vsdbg" "$DESTDIR/clrdbg"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here.

Copy link
Member

@chuckries chuckries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some comments, LGTM

@wesrupert wesrupert merged commit 0ace8b1 into microsoft:master Nov 18, 2016
@wesrupert wesrupert deleted the vsdbg-rename branch November 18, 2016 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants